#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main1()
{
	int a = 10;
	int b = 20;
	int c = 30;
	int* arr[] = { &a,&b,&c };
	int i = 0;
	for (i = 0; i < 3; i++)
	{
		printf("%d", *arr[i]);
	}
}
int main2()
{
	int arr1[] = {1,2,3,4};
	int arr2[] = {2,3,4,5};
	int arr3[] = {3,4,5,6};
	int* arr[] = { arr1,arr2,arr3 };
	int i = 0;
	for (i = 0; i < 3; i++)
	{
		int j = 0;
		for (j = 0; j < 4; j++)
		{
			printf("%d ", arr[i][j]);
		}
		printf("\n");
	}
}
int main()
{
	int a = 10;
	int* p = &a;
	int**pa = &p;
	**pa = 20;
	printf("%d", a);
}